﻿@using ETD.Common.Extension;
@using ETD.WebOrganization.Libs.Helper;
@using ETD.WinClient.Config;
@using ETD.Domain.EnumModels;
@using ETD.Domain.WebModels;
@using ETD.Common;
@model ETD.WebOrganization.Areas.Web.Models.Financial.IncomeSectionOfficeDetailListModel
@{
    var incomeSectionOfficeDetailList = Model.UIIncomeSectionOfficeDetailList;
}
<style>
    .weui-cell_access .weui-cell__ft:after {
        display: none !important;
    }
</style>
<style>
    .money_summary {
        /*height: 180px;*/
        /*background-color: #50d2c2;*/
        background: linear-gradient(#50d2c2, #24d7c2); /* 标准的语法 */
    }

        .money_summary .weui-grids:before {
            border-top: 0px solid #D9D9D9;
        }

        .money_summary .weui-grids:after {
            border-left: 0px solid #D9D9D9;
        }

        .money_summary .weui-grid:before {
            border-right: 0px solid #D9D9D9;
        }

        .money_summary .weui-grid:after {
            border-bottom: 0px solid #D9D9D9;
        }

    .money_today {
        height: 110px;
        width: 100%;
    }

    .money_today_left {
        width: 16.6666%;
    }

    .money_today_right {
        width: 16.6666%;
    }

    .money_today_value {
        display: block;
        text-align: center;
        color: white;
        font-size: 46px;
    }

    .money_count {
        height: 100px;
        padding-top: 25px;
    }

    .money_count_label {
        display: block;
        text-align: center;
        color: #ffffff;
        font-size: 12px;
        opacity: 0.8;
    }

    .money_count_value {
        display: block;
        text-align: center;
        color: white;
        font-size: 16px;
    }

    .money_summary_line_one {
    }

    .money_summary_line_two .weui-grid {
        width: 50% !important;
    }
</style>
<div class="money_summary">
    <div class="weui-grids money_summary_line_two">
        <div class="weui-grid money_count">
            <span class="money_count_label">累计收益(元)</span>
            <span class="money_count_value">￥@Model.AccumulatedIncome.ToF2OrMark()</span>
        </div>
        <div class="weui-grid money_count">
            <span class="money_count_label">昨日收益</span>
            <span class="money_count_value">￥@Model.YesterdayIncome.ToF2OrMark()</span>
        </div>

    </div>
</div>
<div class="">

    <div class="weui-cells__title">@Model.IncomeDate.ToString("MM月dd日")&nbsp;&nbsp;@(Model.IncomeFromOrganizationName)&nbsp;&nbsp;收益</div>
    <div class="weui-cells">
        @for (int iIncome = 0; iIncome < incomeSectionOfficeDetailList.Count; iIncome++)
        {
            var incomeSectionOfficeDetail = incomeSectionOfficeDetailList[iIncome];
            <a class="weui-cell weui-cell_access" href="javascript:;">
                <div class="weui-cell__bd">
                    <p>@incomeSectionOfficeDetail.SectionOfficeName</p>
                </div>
                <div class="weui-cell__ft">￥@incomeSectionOfficeDetail.Income.ToF2OrMark()</div>
            </a>
        }
    </div>

</div>
@section ScriptSection{
    <script>
        $(function () {

        });
    </script>
}